package com.heisenhub.common.oauth.annotation;

import com.heisenhub.common.oauth.config.ServerResourceServerConfigure;
import com.heisenhub.common.oauth.config.XmOauthConfigure;
import com.heisenhub.common.oauth.config.XmWebMvcConfigurer;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @author sen
 * @description  开启Oauth 认证模块
 * @date 2024/3/22 10:05
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({ ServerResourceServerConfigure.class, XmOauthConfigure.class , XmWebMvcConfigurer.class})
public @interface EnableXMOauthHandler {
}
